<script setup>
import { h } from 'vue'

const test= h('div', { class: 'container' }, [
  h('h1', 'Hello from <script setup>'),
  h('p', 'This uses h() with Composition API')
])


const renderFunction = () => h('div', { class: 'container' }, [
  h('h1', 'Hello from <script setup>'),
  h('p', 'This uses h() with Composition API')
])

</script>

<template>
  <div :is="renderFunction" style="width: 500px;height: auto;"></div>
  <renderFunction />
  <test></test>
</template>